package com.restaurant.application.indexes.bookingsetlist.support;

import com.nebutown.base.ViewSpec;
import com.nebutown.base.data.View;
import com.nebutown.generation.basictype.UID;
import com.nebutown.supporthome.AbstractBase;
import com.restaurant.application.bookingset.support.BookingSetData;
import com.restaurant.application.indexes.bookingsetlist.AssistBookingSetList;
import com.restaurant.application.minifacade.data.BookingBO;
import com.restaurant.application.minifacade.data.ShopBookingTime;

import java.util.List;

public class AssistBookingSetListOutFace implements AssistBookingSetList {
    private AssistBookingSetListBase base;

    public AssistBookingSetListOutFace(AssistBookingSetListBase base) {
        this.base = base;
    }

    public AbstractBase getBase() {
        return this.base;
    }

    @Override
    public ShopBookingTime findBookingSetList(String arg0, String arg1) {
        return (ShopBookingTime) base.call("findBookingSetList", arg0, arg1);
    }
    
    @Override
    public List findBookingSetListByService(String arg0) {
        return (List) base.call("findBookingSetListByService", arg0);
    }

    @Override
    public String checkIsRepeat(BookingSetData arg0) {
        return (String) base.call("checkIsRepeat", arg0);
    }

    @Override
    public BookingBO findBookingShops() {
        return (BookingBO) base.call("findBookingShops");
    }
    
    @Override
    public UID getId() {
        return (UID) base.call("getId");
    }

    @Override
    public Class getEffectiveInterface() {
        return (Class) base.call("getEffectiveInterface");
    }
    
    @Override
    public View getFullView() {
        return (View) base.call("getFullView");
    }
    
    @Override
    public View getViewLead(ViewSpec arg0) {
        return (View) base.call("getViewLead", arg0);
    }
}
